<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title>拼团商城</title>
	<meta name="keywords" content="拼团商城" />
	<meta name="description" content="拼团商城" />
	<meta name="viewport"
		content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<script src="js/mui.min.js"></script>
	<link href="css/mui.min.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="css/style.css" type="text/css" />
	<link rel="stylesheet" href="css/swiper.css" />
	<script type="text/javascript">
		!function (J) { function H() { var d = E.getBoundingClientRect().width; var e = (d / 7.5 > 100 * B ? 100 * B : (d / 7.5 < 42 ? 42 : d / 7.5)); E.style.fontSize = e + "px", J.rem = e } var G, F = J.document, E = F.documentElement, D = F.querySelector('meta[name="viewport"]'), B = 0, A = 0; if (D) { var y = D.getAttribute("content").match(/initial\-scale=([\d\.]+)/); y && (A = parseFloat(y[1]), B = parseInt(1 / A)) } if (!B && !A) { var u = (J.navigator.appVersion.match(/android/gi), J.navigator.appVersion.match(/iphone/gi)), t = J.devicePixelRatio; B = u ? t >= 3 && (!B || B >= 3) ? 3 : t >= 2 && (!B || B >= 2) ? 2 : 1 : 1, A = 1 / B } if (E.setAttribute("data-dpr", B), !D) { if (D = F.createElement("meta"), D.setAttribute("name", "viewport"), D.setAttribute("content", "initial-scale=" + A + ", maximum-scale=" + A + ", minimum-scale=" + A + ", user-scalable=no"), E.firstElementChild) { E.firstElementChild.appendChild(D) } else { var s = F.createElement("div"); s.appendChild(D), F.write(s.innerHTML) } } J.addEventListener("resize", function () { clearTimeout(G), G = setTimeout(H, 300) }, !1), J.addEventListener("pageshow", function (b) { b.persisted && (clearTimeout(G), G = setTimeout(H, 300)) }, !1), H() }(window);
		if (typeof (M) == 'undefined' || !M) {
			window.M = {};
		}
	</script>
</head>

<body style="background: #f4f4f4;">
	<div class="member">
		<div class="member-pic"><img src="{{data?data.imgurl:'images/mobile_user_avatar.png'}}" /></div>
		<div class="member-infor">
			<a href="/login">登陆</a>
			<a href="/register">注册</a>
		</div>
	</div>
	<h2 class="memtit">我的订单<a href="/pay">查看更多 ></a></h2>
	<ul class="member-list">
		<li>
			<a href="">
				<i class="iconfont">&#xe8ed;</i>
				<p> 待付款</p>
			</a>
		</li>
		<li>
			<a href="">
				<i class="iconfont">&#xe641;</i>
				<p> 待成团</p>
			</a>
		</li>
		<li>
			<a href="">
				<i class="iconfont">&#xe61a;</i>
				<p> 待发货</p>
			</a>
		</li>
		<li>
			<a href="">
				<i class="iconfont">&#xe642;</i>
				<p> 待收货</p>
			</a>
		</li>
		<li>
			<a href="">
				<i class="iconfont">&#xe689;</i>
				<p> 待评价</p>
			</a>
		</li>
	</ul>
	<ul class="mem-menu">
		<li>
			<a href="">
				<i class="iconfont">&#xe624;</i>
				<p>我的消息</p>
			</a>
		</li>
		<li>
			<a href="">
				<i class="iconfont">&#xe638;</i>
				<p>我的优惠券</p>
			</a>
		</li>
		<li>
			<a href="/Car">
				<i class="iconfont">&#xe602;</i>
				<p>我的收藏</p>
			</a>
		</li>
		<li>
			<a href="">
				<i class="iconfont">&#xe639;</i>
				<p>退款/售后</p>
			</a>
		</li>
	</ul>
	<ul class="m-item">
		<li>
			<a href="">
				<i class="iconfont">&#xe630;</i>
				<span>我的抽奖</span>
				<i class="iconfont" style="float: right;">&#xe605;</i>
			</a>
		</li>
		<li>
			<a href="/elsegroup.html">
				<i class="iconfont">&#xe6b8;</i>
				<span>我的拼团</span>
				<i class="iconfont" style="float: right;">&#xe605;</i>
			</a>
		</li>
		<li>
			<a href="">
				<i class="iconfont">&#xe6c7;</i>
				<span>我的免单券</span>
				<i class="iconfont" style="float: right;">&#xe605;</i>
			</a>
		</li>
		<li>
			<a href="/address">
				<i class="iconfont">&#xe61b;</i>
				<span>收货地址</span>
				<i class="iconfont" style="float: right;">&#xe605;</i>
			</a>
		</li>
		<li>
			<a href="/my" id="amy">
				<i class="iconfont">&#xe626;</i>
				<span>设置</span>
				<i class="iconfont" style="float: right;">&#xe605;</i>
			</a>
		</li>
	</ul>
	{{include './foot.html'}}
	<script src="js/jquery-1.10.1.min.js"></script>
	<script src="js/swiper.min.js"></script>
	<script type="text/javascript" src="js/comment.js"></script>
	<script src="https://cdn.bootcdn.net/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.js"></script>
	<script>
		var user = $.cookie('user')
		if (user) {
			$('.member-infor').html(user)
			$('#amy').attr('href', '/my')
		} else {
			$('.member-infor').html('<a href="/login">登陆</a><a href = "/register" > 注册</a >')
			$('#amy').attr('href', '#').click(function (e) {
				alert('请先登录')
			})
		}
		$('.member-pic').click(function (e) {
			location.href = '/img'
		})
	</script>
</body>

</html>